#include <iostream>
using namespace std;

void displayArray(char arr[], int length)
{
    for(int i = 0; i < length; i++)
    {
        cout << arr[i] << endl;
    }
}

void displayArray(int arr[], int length)
{
    for(int i = 0; i < length; i++)
    {
        cout << arr[i] << endl;
    }
}

int main(int argc, char const *argv[])
{
    /* code */
    char arr1[] = {'s', 'h', 'e', '\0'};
    int arr2[] = {1, 100, 200, 300};
    displayArray(arr1, 4);
    displayArray(arr2, 4);
    return 0;
}
